/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoopp.qcoinpay;

import android.graphics.drawable.Drawable;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import com.qihoopp.framework.LogUtil;

final class h implements View.OnTouchListener {
    public final boolean onTouch(View paramView, MotionEvent paramMotionEvent)
  {
    int i = paramView.getWidth();
    int j = paramView.getHeight();
    switch (paramMotionEvent.getAction())
    {
    case 0:
      paramView.setBackgroundDrawable(this.a);
      break;
    case 2:
      LogUtil.d("PassWordPage", "onTouch---moveevent.getX() = " + paramMotionEvent.getX() + "event.getY() = " + paramMotionEvent.getY() + "rect = wid= " + i + "height= " + j);
      if ((paramMotionEvent.getX() > i) || (paramMotionEvent.getX() < 0.0F) || (paramMotionEvent.getY() > j) || (paramMotionEvent.getY() < 0.0F))
      {
        LogUtil.d("PassWordPage", "onTouch---moveevent.getX() = " + paramMotionEvent.getX() + "event.getY() = " + paramMotionEvent.getY() + "rect = wid= " + i + "height= " + j);
        break label290:
      }
      paramView.setBackgroundDrawable(this.a);
      break;
    case 1:
      if ((paramMotionEvent.getX() >= i) || (paramMotionEvent.getX() <= 0.0F) || (paramMotionEvent.getY() >= j) || (paramMotionEvent.getY() <= 0.0F))
        break label298;
      paramView.setBackgroundDrawable(this.b);
      aq.b(this.c);
      break;
    case 3:
      paramView.setBackgroundDrawable(this.b);
      break;
    case 4:
      label290: paramView.setBackgroundDrawable(this.b);
    }
    label298: return true;
  }
}